package com.scuec.tourismwebsite.service;


import com.github.pagehelper.PageInfo;
import com.scuec.tourismwebsite.entity.User;
import com.scuec.tourismwebsite.entity.UserOrder;
import com.scuec.tourismwebsite.vo.OrderUserBoutique;

import java.util.List;

public interface UserOrderService {
    List<OrderUserBoutique> findOrderByUsername(String nickname);

    int deleteOrderById(int order_id);

    List<OrderUserBoutique> findOrderAll();

    List<OrderUserBoutique> findOrderToAll();

    PageInfo<OrderUserBoutique> findOrderPages(Integer pageNum, Integer pageSize);

    PageInfo<OrderUserBoutique> findOrderPage(String nickname, Integer pageNum, Integer pageSize);

    PageInfo<OrderUserBoutique> findAnaPages(Integer pageNum, Integer pageSize);

    PageInfo<OrderUserBoutique> findAnaPage(String tour_name, Integer pageNum, Integer pageSize);

    List<OrderUserBoutique> findOrdersByUserId(Integer user_id);

    UserOrder findOrderById(Integer order_id);

    int insertUserOrder(UserOrder userOrder);


}